package com.feng.zhihao.apigeteway.gateway.bean.impl.PARAMS_TYPE;

import org.springframework.stereotype.Component;

import com.alibaba.fastjson.JSONObject;
import com.feng.zhihao.apigeteway.gateway.ReqContext;
import com.feng.zhihao.apigeteway.gateway.bean.PARAMS_TYPE;

@Component("PARAMS_TYPE_JSON")
public class PARAMS_TYPE_JSON implements PARAMS_TYPE {

	@Override
	public JSONObject paresParams(String params, ReqContext reqContext) {
		return JSONObject.parseObject(params);
	}

}
